﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Model;
using NHibernate.IDAL;
using NHibernate.FactoryDAL;

namespace NHibernate.BLL
{
    public class Traning_LecturerBLL
    {
        private readonly ITraning_LecturerDAL dal = DataFactory.Create<ITraning_LecturerDAL>("Traning_LecturerSQLDAL");

        /// <summary>
        /// NHibernate分页查询
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public List<Traning_Lecturer> GetList(Traning_LecturerQuery query)
        {
            return dal.GetList(query);
        }
    }
}
